package com.coderush.admin.sys.mapper;

import com.coderush.admin.sys.model.entity.EmployeeRole;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.coderush.admin.sys.model.vo.EmployeeRoleVo;

import java.util.List;

/**
* @author Administrator
* @description 针对表【sys_employee_role(员工对应的-角色)】的数据库操作Mapper
* @createDate 2025-08-31 15:44:44
* @Entity com.coderush.admin.sys.model.entity.EmployeeRole
*/
public interface EmployeeRoleMapper extends BaseMapper<EmployeeRole> {

    /**
     * 查询员工 对应的所有角色信息
     */
    List<EmployeeRoleVo> getEmployeeRoleList(Long empId);
}




